extract:
	rm -f ext.*.bgf
	${tooldir}/rng2bgf fetched/svg11-basic.rng ext.svg.bgf
	${tooldir}/rng2bgf fetched/svg-datatypes.rng ext.datatypes.bgf
	${tooldir}/rng2bgf fetched/svg-default-attrib.rng ext.default-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-core-attrib.rng ext.core-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-viewport-attrib.rng ext.viewport-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-paint-attrib.rng ext.paint-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-opacity-attrib.rng ext.opacity-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-graphics-attrib.rng ext.graphics-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-docevents-attrib.rng ext.docevents-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-graphevents-attrib.rng ext.graphevents-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-animevents-attrib.rng ext.animevents-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-xlink-attrib.rng ext.xlink-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-extresources-attrib.rng ext.extresources-attrib.bgf
	${tooldir}/rng2bgf fetched/svg-basic-model.rng ext.basic-model.bgf
	${tooldir}/rng2bgf fetched/svg-structure.rng ext.structure.bgf
	${tooldir}/rng2bgf fetched/svg-conditional.rng ext.conditional.bgf
	${tooldir}/rng2bgf fetched/svg-image.rng ext.image.bgf
	${tooldir}/rng2bgf fetched/svg-style.rng ext.style.bgf
	${tooldir}/rng2bgf fetched/svg-shape.rng ext.shape.bgf
	${tooldir}/rng2bgf fetched/svg-text.rng ext.text.bgf
	${tooldir}/rng2bgf fetched/svg-profile.rng ext.profile.bgf
	${tooldir}/rng2bgf fetched/svg-gradient.rng ext.gradient.bgf
	${tooldir}/rng2bgf fetched/svg-pattern.rng ext.pattern.bgf
	${tooldir}/rng2bgf fetched/svg-basic-clip.rng ext.basic-clip.bgf
	${tooldir}/rng2bgf fetched/svg-mask.rng ext.mask.bgf
	${tooldir}/rng2bgf fetched/svg-basic-filter.rng ext.basic-filter.bgf
	${tooldir}/rng2bgf fetched/svg-hyperlink.rng ext.hyperlink.bgf
	${tooldir}/rng2bgf fetched/svg-view.rng ext.view.bgf
	${tooldir}/rng2bgf fetched/svg-script.rng ext.script.bgf
	${tooldir}/rng2bgf fetched/svg-animation.rng ext.animation.bgf
	${tooldir}/rng2bgf fetched/svg-font.rng ext.font.bgf
	${tooldir}/rng2bgf fetched/svg-extensibility.rng ext.extensibility.bgf
	${tooldir}/mergebgf ext.*.bgf grammar.bgf

fetch:
	cp ../furubayashi/fetched/svg11-basic.rng fetched/
	cp ../furubayashi/fetched/svg-datatypes.rng fetched/
	cp ../furubayashi/fetched/svg-default-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-core-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-viewport-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-paint-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-opacity-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-graphics-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-docevents-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-graphevents-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-animevents-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-xlink-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-extresources-attrib.rng fetched/
	cp ../furubayashi/fetched/svg-basic-model.rng fetched/
	cp ../furubayashi/fetched/svg-structure.rng fetched/
	cp ../furubayashi/fetched/svg-conditional.rng fetched/
	cp ../furubayashi/fetched/svg-image.rng fetched/
	cp ../furubayashi/fetched/svg-style.rng fetched/
	cp ../furubayashi/fetched/svg-shape.rng fetched/
	cp ../furubayashi/fetched/svg-text.rng fetched/
	cp ../furubayashi/fetched/svg-profile.rng fetched/
	cp ../furubayashi/fetched/svg-gradient.rng fetched/
	cp ../furubayashi/fetched/svg-pattern.rng fetched/
	cp ../furubayashi/fetched/svg-basic-clip.rng fetched/
	cp ../furubayashi/fetched/svg-mask.rng fetched/
	cp ../furubayashi/fetched/svg-basic-filter.rng fetched/
	cp ../furubayashi/fetched/svg-hyperlink.rng fetched/
	cp ../furubayashi/fetched/svg-view.rng fetched/
	cp ../furubayashi/fetched/svg-script.rng fetched/
	cp ../furubayashi/fetched/svg-animation.rng fetched/
	cp ../furubayashi/fetched/svg-font.rng fetched/
	cp ../furubayashi/fetched/svg-extensibility.rng fetched/

include ../../../../Makefile.grammar
